package rlyy.framework.core.common.exception;


import rlyy.framework.core.common.enums.ExceptionEnum;

/**
 * 参数解析异常信息
 *
 * @author yuanqinglong
 * @since 2020/7/13 10:22
 */
public class ParameterParseException extends BaseRuntimeException {

    private static final long serialVersionUID = 4992571716994095554L;

    public ParameterParseException() {
        super();
    }

    /**
     * 传入枚举类定义的异常信息
     *
     * @param msg 异常信息
     */
    public ParameterParseException(ExceptionEnum msg) {
        super(msg);
    }

    public ParameterParseException(String msg) {
        super(msg);
    }

    public ParameterParseException(String message, Throwable cause) {
        super(message, cause);
    }

    public ParameterParseException(Throwable cause) {
        super(cause);
    }

    public ParameterParseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
